|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
Expression.java | - | - | - | - |
|
1 |
/*
|
|
2 |
* $Id: Expression.java,v 1.1 2004/12/15 14:18:14 patforna Exp $
|
|
3 |
*
|
|
4 |
* Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
|
|
5 |
* Berne University of Applied Sciences
|
|
6 |
* School of Engineering and Information Technology
|
|
7 |
* All rights reserved.
|
|
8 |
*/
|
|
9 |
package bexee.model.expression;
|
|
10 |
|
|
11 |
/**
|
|
12 |
* This interface should be used as a superinterface by all other expressions.
|
|
13 |
*
|
|
14 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:14 $
|
|
15 |
* @author Patric Fornasier
|
|
16 |
* @author Pawel Kowalski
|
|
17 |
*/
|
|
18 |
public interface Expression { |
|
19 |
|
|
20 |
/**
|
|
21 |
* Set an expression litteral for later evaluation.
|
|
22 |
*
|
|
23 |
* @param expressionLitteral
|
|
24 |
* a <code>String</code> value
|
|
25 |
*/
|
|
26 |
public void setExpressionLitteral(String expressionLitteral); |
|
27 |
|
|
28 |
/**
|
|
29 |
* Get an expression litteral for evaluation.
|
|
30 |
*
|
|
31 |
* @return a <code>String</code> value
|
|
32 |
*/
|
|
33 |
public String getExpressionLitteral();
|
|
34 |
|
|
35 |
/**
|
|
36 |
* Evaluate the expression litteral and return a boolean.
|
|
37 |
*
|
|
38 |
* @return a <code>boolean</code> value
|
|
39 |
*/
|
|
40 |
public boolean evaluate(); |
|
41 |
|
|
42 |
} |
|